package com.huanliscloud.controller;

import org.springframework.messaging.handler.annotation.MessageMapping;
import org.springframework.stereotype.Controller;

/**
 * @author lihuan
 * @since 2024/06/03 10:36:25
 */
@Controller
public class MsgController {

    @MessageMapping("/app/topic")
    public void topic(String msg) {
        System.out.println(msg);
    }

}

